package com.wn.equipment.service;

import com.wn.common.PageBean;
import com.wn.entity.EquipmentManagement;
import com.wn.entity.InspectionInWarehouseApplication;
import com.wn.equipment.vo.EquipmentVo;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author zhairenhao
 * @date 2022/10/21 15:14
 * @description
 */
public interface EquipmentManagementService {
    void delete(int id);

    EquipmentManagement getById(int id);

    void update(EquipmentManagement equipmentManagement);

    void insert(EquipmentManagement equipmentManagement);
    /**
     * @Author ReenHamZ
     * @Description 查询全部
     * @Param []
     * @return java.util.List<com.wn.entity.EquipmentManagement>
     **/
    List<EquipmentManagement> getAll();

    /**
     * @Author ReenHamZ
     * @Description 多条件查询
     * @Param [com.wn.entity.EquipmentManagement]
     * @return java.util.List<com.wn.entity.EquipmentManagement>
     **/
    List<EquipmentManagement> getByCondition(EquipmentManagement equipmentManagement);

    /**
     * @Author ReenHamZ
     * @Description 多条件分页查询
     * @Param [com.wn.equipment.vo.EquipmentVo]
     * @return com.wn.common.PageBean<com.wn.entity.EquipmentManagement>
     **/
    PageBean<EquipmentManagement> getEquipmentByPages(EquipmentVo equipmentVo);
}
